<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录</title>
	<link type="text/css" rel="stylesheet" th:href="@{/css/bootstrap-3.3.7-dist/css/style2.css}" />
	<link type="text/css" rel="stylesheet" th:href="@{/css/bootstrap-3.3.7-dist/css/public.css}" />

</head>
<body style="background: #f0f0f0">
<div class="right">
	<div class="location">
		<strong>你现在所在的位置是:</strong>
		<span>供应商管理页面 >> 供应商修改页</span>
	</div>
	<div class="providerAdd">
		<form id="providerForm" name="providerForm" method="post" th:action="@{/user/modifyProvider}">
			<!--div的class 为error是验证错误，ok是验证成功-->
			<div class="">
				<label for="proCode">供应商编码：</label>
				<input type="text" name="proCode" id="proCode" th:value="${session.provider.proCode }" readonly="readonly">
				<input type="hidden" name="id"  th:value="${session.provider.id }" readonly="readonly">
			</div>
			<div>
				<label for="proName">供应商名称：</label>
				<input type="text" name="proName" id="proName" th:value="${session.provider.proName }">
				<font color="red"></font>
			</div>

			<div>
				<label for="proContact">联系人：</label>
				<input type="text" name="proContact" id="proContact" th:value="${session.provider.proContact }">
				<font color="red"></font>
			</div>

			<div>
				<label for="proPhone">联系电话：</label>
				<input type="text" name="proPhone" id="proPhone" th:value="${session.provider.proPhone }">
				<font color="red"></font>
			</div>

			<div>
				<label for="proAddress">联系地址：</label>
				<input type="text" name="proAddress" id="proAddress" th:value="${session.provider.proAddress }">
			</div>

			<div>
				<label for="proFax">传真：</label>
				<input type="text" name="proFax" id="proFax" th:value="${session.provider.proFax }">
			</div>

			<div>
				<label for="proDesc">描述：</label>
				<input type="text" name="proDesc" id="proDesc" th:value="${session.provider.proDesc }">
			</div>
			<div class="providerAddBtn">
				<button  name="baocun" value="" style="height: 30px;width: 80px;background: #f0f0f0">保存</button>
			</div>
		</form>
		<form th:action="@{/user/providerlist}">
			<button id="back" name="back" value="" style="margin-left: 245px;height: 30px;width: 80px;background: #f0f0f0">返回</button>
		</form>
	</div>
</div>


</body>
</html>